package com.pro.dao;

import org.apache.ibatis.annotations.Select;

/**
 * @ClassName: CourseClassMapper
 * @Author: 笑笑
 * @DATE: 2021/11/25
 * @TIME: 下午 06:23
 */
public interface CourseClassMapper {

    //根据名称查询课程分类id
    @Select("SELECT id FROM js_course_class WHERE name = #{className}")
    Integer getIdByName(String className);
}
